package com.ruoyi.model.banner;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * aaa对象 web_carousel
 *
 * @author ruoyi
 * @date 2024-08-02
 */


public class WebCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图主键id */
    private Long id;

    /** 轮播图名称 */
    @Excel(name = "轮播图名称")
    private String name;

    /** 轮播图地址 */
    @Excel(name = "轮播图地址")
    private String imgUrl;

    /** 轮播图状态 */
    @Excel(name = "轮播图状态")
    private String status;

    /** $column.columnComment */
    private Long sort;

    /** 逻辑删除 */
    private Long isDel;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setIsDel(Long isDel)
    {
        this.isDel = isDel;
    }

    public Long getIsDel()
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("imgUrl", getImgUrl())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("sort", getSort())
                .append("isDel", getIsDel())
                .toString();
    }
}

